package com.cwj.juc;

import java.util.concurrent.ArrayBlockingQueue;

/**
 * @author chenwujie
 * @date 2021-03-10 10:12
 */
public class BlockingQueueTest {
    public static void main(String[] args) {
        ArrayBlockingQueue<String> blockingQueue = new ArrayBlockingQueue<>(10);
        blockingQueue.add("a");
        System.out.println(blockingQueue.size());
    }
}
